package Practice_Enum;

/**
 * @author caesar
 * @date 2025/7/11
 * @Description:
 * @apiNote
 */
public enum Currency {
    USD {
        public String getSymbol() {
            return "$";
        }
    },
    EUR {
        public String getSymbol() {
            return "€";
        }
    },
    CNY {
        public String getSymbol() {
            return "¥";
        }
    };
    private static String fullName;
    private static String symbol;

    Currency() {
    }

    public abstract String getSymbol();
}
